package com.example.springbootdemo.app.service;

import com.example.springbootdemo.api.DTO.AddStudentDTO;
import com.example.springbootdemo.domin.VO.getScoreDetailVO;
import com.example.springbootdemo.domin.entity.Student;

import java.util.List;

public interface StudentService {
    Student getById(Integer sno);

    void update(Student student);

    void deleteById(Integer sno);

    void insertStudent(Student student);

    void insertStudents(List<AddStudentDTO> list);

    List<Student> getAll();

    List<getScoreDetailVO> getScoreDetail(String sname);

}
